<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Editor GUI Table: EditorGUITable.TableAttribute Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(initResizable);
/* @license-end */</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="Logo_rounded.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Editor GUI Table
   &#160;<span id="projectnumber">2.1.1</span>
   </div>
   <div id="projectbrief">Allows programmers to easily create customizable tables in Unity Editor</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('class_editor_g_u_i_table_1_1_table_attribute.html','');});
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="class_editor_g_u_i_table_1_1_table_attribute-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">EditorGUITable.TableAttribute Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Attribute that automatically draws a collection as a table  
 <a href="class_editor_g_u_i_table_1_1_table_attribute.html#details">More...</a></p>
<div class="dynheader">
Inheritance diagram for EditorGUITable.TableAttribute:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_editor_g_u_i_table_1_1_table_attribute.png" usemap="#EditorGUITable.TableAttribute_map" alt=""/>
  <map id="EditorGUITable.TableAttribute_map" name="EditorGUITable.TableAttribute_map">
<area href="class_editor_g_u_i_table_1_1_reorderable_table_attribute.html" title="Attribute that automatically draws a collection as a table with the Reorderable option enabled ..." alt="EditorGUITable.ReorderableTableAttribute" shape="rect" coords="0,112,248,136"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a7a05c48563ed9bcca14dc23a9f2d02aa"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_editor_g_u_i_table_1_1_table_attribute.html#a7a05c48563ed9bcca14dc23a9f2d02aa">TableAttribute</a> ()</td></tr>
<tr class="memdesc:a7a05c48563ed9bcca14dc23a9f2d02aa"><td class="mdescLeft">&#160;</td><td class="mdescRight">This attribute will display the collection in a table, instead of the classic Unity list.  <a href="#a7a05c48563ed9bcca14dc23a9f2d02aa">More...</a><br /></td></tr>
<tr class="separator:a7a05c48563ed9bcca14dc23a9f2d02aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7f610854edfd03d9e1b6cefa77c52707"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_editor_g_u_i_table_1_1_table_attribute.html#a7f610854edfd03d9e1b6cefa77c52707">TableAttribute</a> (params string[] properties)</td></tr>
<tr class="memdesc:a7f610854edfd03d9e1b6cefa77c52707"><td class="mdescLeft">&#160;</td><td class="mdescRight">This attribute will display the collection's chosen properties in a table, instead of the classic Unity list.  <a href="#a7f610854edfd03d9e1b6cefa77c52707">More...</a><br /></td></tr>
<tr class="separator:a7f610854edfd03d9e1b6cefa77c52707"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a320160d37b29bf97a5fd2e21d9380d1f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_editor_g_u_i_table_1_1_table_attribute.html#a320160d37b29bf97a5fd2e21d9380d1f">TableAttribute</a> (string[] properties, float[] widths)</td></tr>
<tr class="memdesc:a320160d37b29bf97a5fd2e21d9380d1f"><td class="mdescLeft">&#160;</td><td class="mdescRight">This attribute will display the collection's chosen properties in a table, with the chosen column sizes, instead of the classic Unity list.  <a href="#a320160d37b29bf97a5fd2e21d9380d1f">More...</a><br /></td></tr>
<tr class="separator:a320160d37b29bf97a5fd2e21d9380d1f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:ae2fab4a6c888ece5d0b6f1311c55b7dd"><td class="memItemLeft" align="right" valign="top"><a id="ae2fab4a6c888ece5d0b6f1311c55b7dd"></a>
string []&#160;</td><td class="memItemRight" valign="bottom"><b>properties</b> = null</td></tr>
<tr class="separator:ae2fab4a6c888ece5d0b6f1311c55b7dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a58def7d03f7f3dda6361ecd8866deeaa"><td class="memItemLeft" align="right" valign="top"><a id="a58def7d03f7f3dda6361ecd8866deeaa"></a>
float []&#160;</td><td class="memItemRight" valign="bottom"><b>widths</b> = null</td></tr>
<tr class="separator:a58def7d03f7f3dda6361ecd8866deeaa"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Attribute that automatically draws a collection as a table </p>
<p>Example:</p>
<p><code> public class TableAttributeExample : MonoBehaviour { </p><pre class="fragment">[System.Serializable]
public class SimpleObject
{
    public string stringProperty;
    public float floatProperty;
}

[TableAttribute]
public List&lt;SimpleObject&gt; simpleObjects;
</pre><p></code></p>
<p><code>}</code></p>
<p><code> </code></p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a7a05c48563ed9bcca14dc23a9f2d02aa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7a05c48563ed9bcca14dc23a9f2d02aa">&#9670;&nbsp;</a></span>TableAttribute() <span class="overload">[1/3]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">EditorGUITable.TableAttribute.TableAttribute </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This attribute will display the collection in a table, instead of the classic Unity list. </p>

</div>
</div>
<a id="a7f610854edfd03d9e1b6cefa77c52707"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7f610854edfd03d9e1b6cefa77c52707">&#9670;&nbsp;</a></span>TableAttribute() <span class="overload">[2/3]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">EditorGUITable.TableAttribute.TableAttribute </td>
          <td>(</td>
          <td class="paramtype">params string []&#160;</td>
          <td class="paramname"><em>properties</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This attribute will display the collection's chosen properties in a table, instead of the classic Unity list. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">properties</td><td>The properties to display in the table </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a320160d37b29bf97a5fd2e21d9380d1f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a320160d37b29bf97a5fd2e21d9380d1f">&#9670;&nbsp;</a></span>TableAttribute() <span class="overload">[3/3]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">EditorGUITable.TableAttribute.TableAttribute </td>
          <td>(</td>
          <td class="paramtype">string []&#160;</td>
          <td class="paramname"><em>properties</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float []&#160;</td>
          <td class="paramname"><em>widths</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This attribute will display the collection's chosen properties in a table, with the chosen column sizes, instead of the classic Unity list. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">properties</td><td>The properties to display in the table</td></tr>
    <tr><td class="paramname">widths</td><td>The widths of the table's columns</td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>/Users/jquentin/Documents/Projects/EditorGUITable/Assets/GUITable/Code/Attributes/TableAttribute.cs</li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespace_editor_g_u_i_table.html">EditorGUITable</a></li><li class="navelem"><a class="el" href="class_editor_g_u_i_table_1_1_table_attribute.html">TableAttribute</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.14 </li>
  </ul>
</div>
</body>
</html>
